import { Module } from "@nestjs/common";
import { TypeOrmModule } from "@nestjs/typeorm";
import { WsModule } from "src/ws/ws.module";
import { MessageController } from "./message.controller";
import { MessageService } from "./message.service";
import { Message } from "src/entity/message.entity";

@Module({
  imports: [WsModule, TypeOrmModule.forFeature([Message])],
  providers: [MessageService],
  controllers: [MessageController],
})
export class MessageModule {}
